package com.lyx.question.entity;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * @author 14667
 * @date 2022/7/28 8:52
 */
@Data
public class ESQuestion {
    private Integer id;

    private Integer questionType;

    private Integer chapterId;

    private String questionDescription;

    private String choices;

    private Double questionScore;


//    @JsonDeserialize(using = LocalDateTimeDeserializer.class)
//    @JsonSerialize(using = LocalDateTimeSerializer.class)
    private LocalDateTime createTime;

    private LocalDateTime updateTime;
}
